package cool.mtc.minghe.service.service.sys.permission;

import cool.mtc.minghe.data.model.sys.permission.form.PermissionForm;
import cool.mtc.minghe.data.model.sys.permission.dto.*;
import cool.mtc.minghe.data.model.sys.permission.query.*;
import cool.mtc.minghe.service.service.BaseService;
import cool.mtc.core.page.PageData;

/**
 * @author 明河
 */
public interface PermissionService extends BaseService {

    long insert(PermissionForm form);

    void update(PermissionForm form);

    void delete(Long id);

    PageData<PermissionListDTO> pageList(PermissionQuery query);

    PermissionDTO info(Long id);
}
